package com.ky.home.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 答题表
 * </p>
 *
 * @author pl
 * @since 2024-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Exam implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String questionContent;

    private String optionA;

    private String optionB;

    private String optionC;

    private String optionD;

    /**
     * 历年题库id
     */
    private Integer yearId;

    /**
     * 正确答案
     */
    private String rightOption;



}
